import { request } from '@pkg/request/src';

export enum Api {
  page = '/butlerServiceOrder/page',
  list = '/butlerServiceOrder/list',
  get = '/butlerServiceOrder/get',
  add = '/butlerServiceOrder/save',
  update = '/butlerServiceOrder/update',
  remove = '/butlerServiceOrder/remove',
}

export const getButlerServiceOrderDetail = params =>
  request.get(
    {
      url: Api.get,
      params: params,
    },
    { errorMessageMode: 'none', successMessageMode: 'none' },
  );
